<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>文件导入</title>
<link href="${ctx}/style/upload.css" rel="stylesheet" />
<link href="${ctx}/style/font.css" rel="stylesheet" />
<script src="${ctx}/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
function impt(){
	location.href = "${ctx}/admin/impt";
}
function back(){
	location.href = "${ctx}/admin/file";
}
</script>
</head>

<body>
	<div class="upload">

		<div class="clear lin_hd_60">
			<span class="">错误信息</span><span>页面数量: ${errPage.pageSize}</span><span>页面数量: ${errPage.totalPage}</span><span> 是否还有下一页:${errIsLast}</span><span>当前页码:${errPage.pageNumber}</span>
		</div>
		<div class="wid_100 lin_hd_60 center bg_c_fa3131">
			<div class="wid_10">序号</div>
			<div class="wid_20">状态</div>
			<div class="wid_20">姓名</div>
			<div class="wid_25">手机</div>
			<div class="wid_25">错误信息</div>
		</div>


		<div class="upload_content">
		<c:forEach items="${errPage.list}" var="vo" >
		   <div class="wid_100 lin_hd_60 center bor_bottom">
				<div class="wid_10">${vo.serialNo }</div>
				<div class="wid_20 color_fa3131">错误</div>
				<div class="wid_20">${vo.name }</div>
				<div class="wid_25">${vo.mobile }</div>
				<div class="wid_25">${vo.errContent }</div>
			</div>
		</c:forEach>
		</div>
		<ul class="nav clear">
		   <c:choose>
		     <c:when test="${errIsFirst}"><li><a href="#" style="color: gray;">上一页</a></li></c:when>
		     <c:otherwise><li><a href="${ctx}/admin/data/${errPage.pageNumber-1 }-${rightPage.pageNumber }">上一页</a></li></c:otherwise>
		   </c:choose>
		   <c:choose>
		     <c:when test="${errIsLast}"><li><a href="#" style="color: gray;">下一页</a></li></c:when>
		     <c:otherwise><li><a href="${ctx}/admin/data/${errPage.pageNumber+1 }-${rightPage.pageNumber }">下一页</a></li></c:otherwise>
		   </c:choose>
		</ul>


		<div class="clear lin_hd_60">
			<span class="">正确信息</span>
		</div>
		<div class="wid_100 lin_hd_60 center bg_c_0ea4fb mar_t_10 clear">
			<div class="wid_10">序号</div>
			<div class="wid_20">状态</div>
			<div class="wid_20">姓名</div>
			<div class="wid_25">手机</div>
			<div class="wid_25">变动信息</div>
		</div>


		<div class="upload_content">
			<c:forEach items="${rightPage.list}" var="vo" >
		      <div class="wid_100 lin_hd_60 center bor_bottom">
				<div class="wid_10">${vo.serialNo }</div>
				<div class="wid_20 color_fa3131">
				   <c:choose>
				     <c:when test=" ${vo.status == '1'}">新增</c:when>
				     <c:otherwise>修改</c:otherwise>
				   </c:choose>
				</div>
				<div class="wid_20">${vo.name }</div>
				<div class="wid_25">${vo.mobile }</div>
				<div class="wid_25">${vo.errContent }</div>
			 </div>
		</c:forEach>
		</div>
		<ul class="nav">
			  <c:choose>
		     <c:when test="${rightIsFirst}"><li><a href="#" style="color: gray;">上一页</a></li></c:when>
		     <c:otherwise><li><a href="${ctx}/admin/data/${errPage.pageNumber }-${rightPage.pageNumber-1 }">上一页</a></li></c:otherwise>
		   </c:choose>
		   <c:choose>
		     <c:when test="${rightIsLast}"><li><a href="#" style="color: gray;">下一页</a></li></c:when>
		     <c:otherwise><li><a href="${ctx}/admin/data/${errPage.pageNumber }-${rightPage.pageNumber+1 }">下一页</a></li></c:otherwise>
		   </c:choose>
		</ul>



		<div class="clear">
			<button class="submitt flo_r" onclick="impt()">导入结果</button>
			<button class="submitt flo_r mar_20 div_return" onclick="back()">返回</button>
		</div>
	</div>
</body>